@import './normalize.css';
.w {
  margin: 0 auto;
  width: 1200px;
}
p {
  margin: 0;

}

a {

  color: #797a7c;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
* {
  box-sizing: border-box;
}

/* 头部shortcut样式 */
.heardr_top {
  display: flow-root;
  font-size: 12px;
  background-color: #f7f9fa;
  // border: 1px solid red;
  .shortcut_left {
    float: left;
    a:hover {
      color: #1890ff;
    }
    p, .notice {
      float: left;
      height: 40px;
      line-height: 40px;
      color: #797a7c;
      &:first-child {
        margin-right: 50px;
      }
    }
    .notice {
      width: 550px;
      overflow: hidden;
    }
    
    
  }
  .shortcut_right {
    float: right;
    a:hover {
      color: #1890ff;
    }
    li {
      float: left;
      line-height: 40px;
      span {
        cursor: pointer;
      }
      &:first-child {
        .iconfont {
          color: #797a7c;
          &:hover {
          color: #007aff;
          }
        }
      .last {
        display: inline-block;
        margin-right: 12px;
        width: 16px;
        text-align: center;
        line-height: 16px;
        color: #fff;
        border-radius: 50%;
        background-color: #007aff;
        }
      }
      &:nth-child(n+2) {
        a {
        padding: 0 12px;
        border-left: 1px solid #CBC0C4;
        }
    }
    }
  }
}

/* 头部nav和search样式 */
.header_bottom {
  border-bottom: 1px solid #f0f1f2;
  .w {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .nav {
    float: left;
    div {
      float: left;
      line-height: 64px;
    }
    ul {
      display: flex;
      justify-content: space-between;
      margin-left: 60px;
      float: left;
      width: 400px;
      // border: 1px solid red;
      li {
        float: left;
        line-height: 64px;
        font-size: 14px;
        a {
          color: #3b3e40;
          &:hover {
            color: #1890ff;
          }
        }
        &:first-child {
          a:hover {
            color: #000;
          }
        }
      }
    }
    .icondji-logo {
      margin-right: 10px;
      font-size: 26px;
      color: #000;
      vertical-align: middle;
    }
    span {
      font-size: 18px;
      color: #3b3e40;
    }
  }
  .search {
    float: right;
    height: 50px;
    width: 300px;
    padding: 10px;
    border-bottom: 1px solid #007aff;
    input {
      width: 240px;
      height: 30px;
      vertical-align: middle;
      border: none;
      padding: 0;
      outline: none;
    }
    button {
      height: 30px;
      width: 30px;
      vertical-align: middle;
      border: none;
      background-color: transparent;
      cursor: pointer;
      span {
      font-size: 25px;
      }
    }
  }
}

/* nav_items 样式*/
.nav_items {
  display: flex;
  justify-content: space-between;
  li {
    float: left;
    padding: 15px 0;
    // border: 1px solid red;
    a {
      display: block;
      width: 100px;
      height: 80px;
      text-align: center;
      // border: 1px solid red;
      &:hover span{
        color: #007aff;
      }
      div {
        font-size: 0;
        img {
          height: 56px;
        }
      }
      span {
        font-size: 12px;
        color: #3b3e40;
      }
    }
  }
}

/* 广告部分 */
.ad {
  position: relative;
  div {
    height: 480px;
    background-size: cover;
    background-position: center;
  }
  p {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%);
    font-size: 40px;
    color: #fff;
  }
}


/* mavic 部分 */
  main {
    padding-top: 50px;
    background-color: #f5f5f5;
    .mavic {
    overflow: hidden;
    .mavic_head {
      overflow: hidden;
      margin-bottom: 16px;
      &_left {
        float: left;
        font-size: 32px;
        font-weight: 700;
        color: #3b3e40;
      }
      &_right {
        float: right;
        font-size: 16px;
        a {
          color: #3b3e40;
          &:hover {
            color: #007aff;
          }
        }
      }
    }
    .mavic_body {
      overflow: hidden;
      padding-bottom: 20px;
      &_left {
        float: left;
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 20px;
        width: 600px;
        height: 400px;
        // border: 1px solid red;
        background-color: #fff;
        transition: box-shadow .3s ease;
        .bg {
          width: 260px;
          height: 260px;
          background-size: cover;
          background-position: center;
        }
        &>div:last-child {
          padding: 0 20px;
          h3 {
            margin: 0;
            margin-bottom: 20px;
            font-size: 24px;
            color: #3b3e40;
          
          }
          p {
            font-size: 14px;
            line-height: 20px;
            color: #3b3e40;
          }
        }
        .des {
          margin-bottom: 20px;
        }
        .price {
          font-size: 16px;
          color: #3b3e40;
          font-weight: 700;
        }
        &:hover {
                box-shadow: 0 15px 15px -10px rgba(0, 0, 0, .15);
        }
      }
      &_right {
        float: left;
        width: 600px;
        height: 400px;
      }
    }
    .mavic_list {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      a {
        display: flex;
        justify-content: space-around;
        align-items: center;
        padding: 20px;
        width: 592px;
        height: 400px;
        // border: 1px solid red;
        background-color: #fff;
        margin-bottom: 20px;
        transition: box-shadow .3s ease;
        .bg>img {
          width: 260px;
          height: 260px;
        }
        &>div:last-child {
          padding: 0 20px;
          h3 {
            margin: 0;
            margin-bottom: 20px;
            font-size: 24px;
            font-weight: normal;
            color: #3b3e40;
          
          }
          p {
            font-size: 14px;
            line-height: 20px;
            color: #3b3e40;
          }
        }
        .des {
          margin-bottom: 20px;
        }
        .price {
          font-size: 16px;
          color: #3b3e40;
          font-weight: 700;
        }
        &:hover {
                box-shadow: 0 15px 15px -10px rgba(0, 0, 0, .15);
        }
      }
    }
  }
  }


/* 底部样式 */
footer {
  padding: 50px 0 100px 0;
  .footer_service {
    display: flex;
    justify-content: space-around;
    overflow: hidden;
    border-bottom: 1px solid #e9e9e9;
    div {
      float: left;
      padding: 40px 0;
      width: 260px;
      height: 186px;
      text-align: center;
      p {
        margin-top: 10px;
        font-size: 14px;
        line-height: 24px;
        color: #6c7073;
        text-align: center;
        &.email {
          a {
            color: #007aff;
          }
        }
      }
    }
  }

  .footer_links {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    padding: 50px 0;
    // border-bottom: 1px solid #e9e9e9;
    dl {
      float: left;
      width: 220px;
      dt,dd {
        margin: 0;
        line-height: 32px;
        font-size: 12px;
        color: #6c7073;
        a {
          &:hover {
            color: #007aff;
          }
        }
      }
      dt {
        color: #3b3e40;
      }
      .dingyue {
        line-height: 16px;
      }
      form {
          overflow: hidden;
          margin-top: 10px;
        input {
          float: left;
          width: 168px;
          height: 32px;
          padding: 0 10px;
          outline: none;
          font-size: 12px;
          border: 1px solid #d4d7d9;
          border-radius: 4px 0 0 4px;
        }
        button {
          float: left;
          width: 32px;
          height: 32px;
          background-color: #6c7073;
          border-radius: 0 4px 4px 0;
          border: 0;
          color: #fff;
          cursor: pointer;
        }
      }
    }
  }

  .footer_copyright {
    .head {
      overflow: hidden;
      padding-bottom: 20px;
      border-bottom: 1px solid #e9e9e9;
      &_left {
        float: left;
        overflow: hidden;
        // border: 1px solid red;
        height: 30px;
        line-height: 30px;
        .logo {
          float: left;
          font-size: 30px;
          color: #6c7073;
        }
        ul {
          float: left;
          li {
            float: left;
            margin-left:20px;
            font-size: 12px;
            color: #6c7073;
            a{
              &:hover {
                color: #007aff;
              }
            }
          }
        }
      }
      &_right {
        // border: 1px solid red;
        float: right;
        height: 32px;
        a {
          float: left;
          margin-left: 30px;
          i {
            font-size: 40px;
            color: #6c7073;
          }
          &:hover {
            i{
              color: #007aff;
            }
          }
          &:nth-child(n+2) {
              margin-top: 8px;
            i {
              font-size: 20px;
            }
          }
        }
      }
    }

    .foot {
      overflow: hidden;
      // border: 1px solid red;
      height: 20px;
      line-height: 20px;
      margin-top: 20px;
      font-size: 12px;
      color: #6c7073;
      &_left {
        float: left;
        span {
          margin-right: 20px;
        }
        a {
          &:hover {
            color: #007aff;
          }
          i {
            padding: 0 5px;
            font-weight: bold;
          }
        }
      }
      &_right {
        float: right;
        a {
          &:hover {
            color: #007aff;
          }
        }
      }
    }
  }
}

/* 返回顶部 部分 */
.toTop {
  display: none;
  position: fixed;
  bottom: 200px;
  right: 2%;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #fff;
  text-align: center;
  line-height: 50px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
  z-index: 99;
  i {
    transition: font-size .3s linear;
  }
  &:hover {
    i {
      font-size: 26px;
    }
  }
}

/* 客服部分 */
.kefu {
  position: fixed;
  bottom: 140px;
  right: 2%;
  width: 50px;
  height: 50px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(#535759, #3b3e40);
  text-align: center;
  line-height: 50px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
  z-index: 99;
  i {
    transition: font-size .3s linear;
  }
  &:hover {
    i {
      font-size: 26px;
    }
  }
}